home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 26
/
Cream of the Crop 26.iso
/
program
/
gui140.zip
/
GUI.BI
< prev
next >
Wrap
Text File
|
1997-06-28
|
2KB
|
35 lines
'---------------------------------------------------------------------------
'GUI140.BI
'GUI Library v. 1.40
'for QuickBasic 4.5
'Copyright (c) 1995 - 1997 by Tika Carr
'---------------------------------------------------------------------------
'** Function & Sub Declarations
DECLARE FUNCTION PopInp$ (p$, l%, x%, y%, bc%, tc%, fc%, ft%, cc%)
DECLARE FUNCTION button$ (x%, y%, t$, bc%, tc%, hl%, cp%, flag%)
DECLARE FUNCTION pushbtn% (byte$)
DECLARE SUB clrscrn (clr%)
DECLARE SUB drwbtn (ds%, dc%, dfs%, dfc%, dx1%, dy1%, dx2%, dy2%)
DECLARE SUB gprint (z$, x%, y%, c%)
DECLARE SUB mouse (a$)
DECLARE SUB PopUpBox (x%, y%, clrbox%, clrbdr%, clrtext%, TextArray$())
DECLARE SUB TitleBar (t$, bc%, tc%)
DECLARE SUB ImgBuff (x1%, y1%, x2%, y2%, flag%)
'---------------------------------------------------------------------------
'** Metacommands
'$INCLUDE: 'qb.bi'
'$DYNAMIC ' Needed because of all the static and other vars.
'---------------------------------------------------------------------------
'** Variable declarations
DEFINT A-Z
COMMON SHARED mb%, mi%, mt%, mx%, my% 'mouse variables
COMMON SHARED black%, white% 'used for palette
DIM SHARED Inregs AS RegType, Outregs AS RegType 'Interrupt
DIM SHARED Regs AS RegTypeX 'InterruptX
black% = 0: white% = 15
'---------------------------------------------------------------------------
SCREEN 12 ' 640 x 480 x 16 color screen